package com.lincong.controller.frontend;

import com.lincong.entity.dto.MainPageInfoDTO;
import com.lincong.entity.dto.Result;
import com.lincong.service.combine.HeadLineShopCategoryCombineService;
import lombok.Getter;
import org.simpleframework.core.annotation.Controller;
import org.simpleframework.core.annotation.Service;
import org.simpleframework.inject.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author linchong
 * @version 1.0
 * @Date: 2022-05-11 11:26
 * @Description: MainPageController$
 */
@Getter
@Controller
public class MainPageController {

	@Autowired(value = "HeadLineShopCategoryCombineServiceImpl")
	private HeadLineShopCategoryCombineService headLineShopCategoryCombineService;

	public Result<MainPageInfoDTO> getMainPageInfo(HttpServletRequest req, HttpServletResponse resp){
		return headLineShopCategoryCombineService.getMainPageInfo();
	}
}
